package com.wty.cmims.service;

import com.wty.cmims.pojo.Medication;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wty.cmims.pojo.ResponseResult;

import java.util.Map;

/**
* @author wty
* @description 针对表【medication】的数据库操作Service
* @createDate 2024-11-14 23:00:15
*/
public interface MedicationService extends IService<Medication> {

    ResponseResult<Map<String, Object>> medicationFind(Map<String, Object> paramsMap);

    ResponseResult<Void> medicationAdd(Map<String, Object> paramsMap);

    ResponseResult<Void> medicationUpdate(Map<String, Object> paramsMap);

    ResponseResult<Void> medicationDelete(Integer medicationId);

    ResponseResult<Map<String, Object>> medicationDropDownFind(Integer institutionId);

    ResponseResult<Map<String, Object>> medicationDropDownWithoutFind(Integer institutionId);
}
